RCSCLEAN(1) Unix Programmer's Manual RCSCLEAN(1) NNNAAAMMMEEE rcsclean - clean up working files SSSYYYNNNOOOPPPSSSIIISSS rrrcccssscccllleeeaaannn [_r_c_s_d_i_f_f _o_p_t_i_o_n_s] [_f_i_l_e\ ...\ ] DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN rrrcccssscccllleeeaaannn removes working files that were checked out and never modified. For each file given, rrrcccssscccllleeeaaannn compares the working file and a revision in the corresponding RCS file. If it finds no difference, it removes the working file, and, if the revision was locked, unlocks the revision. If no _f_i_l_e is given, all working files in the current directory are cleaned. Any other options are passed along to rrrcccsssdddiiiffffff for the comparison. rrrcccssscccllleeeaaannn is useful for cccllleeeaaannn targets in Makefiles. See also rrrcccsssdddiiiffffff(1), which prints out the differences, and ccciii(1), which normally asks whether to check in a file if it was not changed. EEEXXXAAAMMMPPPLLLEEESSS rcsclean *.c *.h removes all working files ending in ...ccc or ...hhh that were not changed since their checkout. rcsclean removes all working files in the current directory that were not changed since their checkout. DDDIIIAAAGGGNNNOOOSSSTTTIIICCCSSS The exit status is 0 if there were no differences in any file under RCS control, 1 if there were differences, and 2 if there were errors. IIIDDDEEENNNTTTIIIFFFIIICCCAAATTTIIIOOONNN Author: Walter F. Tichy. Revision Number: 1.4; Release Date: 1990/11/02. Copyright (c) 1982, 1988, 1989 by Walter F. Tichy. Copyright (c) 1990 by Paul Eggert. SSSEEEEEE AAALLLSSSOOO ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5) Walter F. Tichy, RCS--A System for Version Control, _S_o_f_t_w_a_r_e--_P_r_a_c_t_i_c_e & _E_x_p_e_r_i_e_n_c_e 111555, 7 (July 1985), 637-654. BBBUUUGGGSSS RCS file names may not be given as arguments. Any diagnostics generated by rrrcccsssdddiiiffffff when comparing files are discarded. If the latest revision is already unlocked, and you have a lock on an earlier revision, the earlier revision is unlocked. \*(Dt 1 RCSCLEAN(1) Unix Programmer's Manual RCSCLEAN(1) rrrcccssscccllleeeaaannn is just an optional example shell script, and should not be taken too seriously. \*(Dt 2